vcIntLimitProperty

Typed property that holds a value, limited by a range.

See in: Overview

Module: vcCore

Parent: vcProperty

Children -

Referenced by: -

Properties

Learn how to use properties here. The properties are also inherited from the parent class.

NameTypeAccessDescription
DefaultValueInteger OR NoneRWGets or sets a default value for this property. Value None means that an explicit default value is not defined.
MaxValueIntegerRWGets or sets the maximum value of property.
MinValueIntegerRWGets or sets the minimum value of property.
TypevcLimitPropertyTypeRGets the property type.
ValueIntegerRWGets or sets the property value.

Methods

Learn how to use methods here. The methods are also inherited from the parent class.

NameReturn TypeParametersDescription
waitForobjectInteger OR None value,
Optional Keyword[waitTrigger = Boolean]
Blocks script execution until vcProperty.Value is equal to the "value".
See more
This function returns an awaitable task. It must be awaited.

Parameters:
value (object): Value that is used for comparison. When the value is equal to vcProperty.Value, the task completes.
Optional: waitTrigger (boolean): False by default. When waitTrigger is True, the task will wait for the value to change first, before comparing it against "value". Otherwise, the comparison is done immediately and when the values match, the task will complete without blocking the script.

Returns:
Awaitable[List]: The task instance. When awaited, returns a list of event arguments that the event has been triggered with.
waitForNotobjectInteger OR None value,
Optional Keyword[waitTrigger = Boolean]
Blocks script execution until vcProperty.Value is not equal to the "value".
See more
This function returns an awaitable task. It must be awaited.

Parameters:
value (object): Value that is used for comparison. When the value is not equal to vcProperty.Value, the task completes.
Optional: waitTrigger (boolean): False by default. When waitTrigger is True, the task will wait for the value to change first, before comparing it against "value". Otherwise, the comparison is done immediately and when the values do not match, the task will complete without blocking the script.

Returns:
Awaitable[List]: The task instance. When awaited, returns a list of event arguments that the event has been triggered with.